package com.arcsoft.crud.limitTime.instance;

import com.arcsoft.crud.Constants.Global;
import com.arcsoft.crud.limitTime.base.BenchmarkTimeBase;
import com.arcsoft.crud.limitTime.task.InsertTimeTask;
import com.arcsoft.crud.limitTime.task.UpdateTimeTask;

public class UpdateTestTimeInstance extends BenchmarkTimeBase{

	public UpdateTestTimeInstance() {
		super(Global.WARMTIME,Global.THREAD_COUNT);
	}

	@Override
	protected Runnable getTask(int index) {
		return new UpdateTimeTask(index, finishlatch, Global.PRINT_INTERVAL_SECONDS, Global.DEFALUT_TABLE_TASK_LOG);
	}
}
